﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OUserLookUp.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.SysBasic.OUserLookUp" %>

<form id="pagerForm" method="post" action="SysBasic/OUserLookUp.aspx">
<input type="hidden" name="RealName" value="<%=RealName %>" />
<input type="hidden" name="RoleId" value="<%=RoleId %>" />
<input type="hidden" name="target" value="<%=target %>" />
<input type="hidden" name="rel" value="<%=rel %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="20" />
</form>
<form id="form1" runat="server" method="post" action="SysBasic/OUserLookUp.aspx" onsubmit="return dialogSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    真实名称： <input name="RealName" type="text" value="<%=RealName %>"  />
                </td>
                <td>
                     <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="pageContent">
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="90" targetType="dialog">
        <thead>
            <tr  >                
                <th width="80" orderField="UserName" class="asc">
                    登陆帐户
                </th>
                <th orderField="RealName" class="asc"">
                    真实姓名
                </th>                
                <th width="80">
                    状态
                </th> 
                <th width="120">
                    查找带回
                </th>                
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("UserId") %>">
				<td><%# Eval("UserName")%></td>
				<td><%# Eval("RealName")%></td>
				<td><%# Eval("State").ToString()=="1"?"禁用":"正常"%></td>
			<td>
					<a class="btnSelect" href="javascript:$.bringBack({UserName:'<%# Eval("UserName") %>', RealName:'<%# Eval("RealName")%>',target:'<%=target %>',rel:'<%=rel %>'})" title="查找带回">选择</a>
				</td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
     <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="dialogPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="dialog" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
